package com.wx.service.impl;

import com.wx.mapper.WxProductMapper;
import com.wx.pojo.WxProduct;
import com.wx.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements IProductService {

    @Autowired
    private  WxProductMapper wxProductMapper;

    @Override
    public WxProduct getModelById(Integer id) {
        return wxProductMapper.selectByPrimaryKey(id);
    }


}
